Preparing the Docker Image from the Source
Building a docker image from a source is relatively easy. This example shows the steps that are required to build and deploy the Service Layer application. As a prerequisite, the docker must be installed on the host machine, where the Service Layer application container will be built.
Prerequisites
Before beginning the installation steps, the following components and binaries should be downloaded from My Oracle Support:
-
TomEE: 10.1.x Plume. TomEE can be downloaded from the below location
https://tomee.apache.org/download.html
Version: TomEE Plume Zip (10.1.x)
Note: Rename the downloaded package to tomee.tar.gz (If you are using any other version of TomEE Plume, Please update the Dockerfile with the version used.)
-
By default, the Dockerfile is configured with Oracle Proxy. Please comment the proxy if you are outside the Oracle network or update it as per your proxy configuration.
# Comment https_proxy outside the ORACLE network
ENV https_proxy www-proxy-hqdc.us.oracle.com:80
-
Administrative rights to the server
-
Oracle PAS Service v12.2.0.0 Media Pack
-
RBAC: Role-Based Access Control
-
Role Definition for Service Layer
-
Adding Roles
-
Adding Users and Roles association
-
-
Download the required Database driver and copy the driver to externallibs/sl_shared/lib directory.
- Oracle – The necessary driver, ojdbc17-23.6.0.24.10.jar, is included in the libs directory of the OIPA Media Pack. This file is not available for download. Contact your IT department if you need assistance locating these files. (Rename to ojdbc.jar)
Note: Version 12.2.0.0 is also supported on Oracle 19c, which is LTS (Long Term Support). If Oracle 19c is used, the corresponding supported ojdbc driver version shipped with Oracle database should be used in the step above.
IBM DB2 – db2jcc4 jar is included with the purchase of the DB2 software.(Rename to db2jcc4.jar)
Microsoft SQL- Use the compatible jdbc driver shipped with MS SQL Server software.
- Oracle – The necessary driver, ojdbc17-23.6.0.24.10.jar, is included in the libs directory of the OIPA Media Pack. This file is not available for download. Contact your IT department if you need assistance locating these files. (Rename to ojdbc.jar)